package com.stlm2.dems.dao.impl;

import org.springframework.stereotype.Repository;

import com.stlm2.dems.entity.GoodSpecification;
import com.stlm2.dems.dao.GoodSpecificationDao;
import com.stlm2.core.base.impl.BaseDaoImpl;

import java.util.List;
import java.util.Map;

@Repository("goodSpecificationDao")
public class GoodSpecificationDaoImpl extends BaseDaoImpl<GoodSpecification> implements GoodSpecificationDao {

    @Override
    public GoodSpecification getGoodSpecification(Map<String, Object> map) {
        return selectOne("getGoodSpecification",map);
    }

    @Override
    public List<GoodSpecification> getGoodSpecificationList(Integer goodId) {
        return selectList("getGoodSpecificationList",goodId);
    }

    @Override
    public void updatePropertiesName(Map<String, String> map) {
         update("updatePropertiesName",map);
    }


}